import api from './api';

/**
 * shopGetList
 */
export function shopGetList(data) {
  return api.get('/store/list', data, { login: false });
}

/**
 * shopGetList
 */
export function shopGet(data) {
  return api.get('/order/getShop', data, { login: false });
}

export function menuAds(data) {
  return api.get('/ad/list', data, { login: false });
}

export function getNews(data) {
  return api.get('/news/list', data, { login: false });
}

export function getNewsDetail(data) {
  return api.get(`/news/detail/${data}`);
}
